<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<%String path = application.getContextPath();
    String error = (String)request.getAttribute("error");
%>
    <form action="<%=path%>/loginStudentServlet" method="get">
        用户名:<input type="text" name="username"><span style="color: lightskyblue"><%=error==null?"":error%></span><br>
        <button type="submit">提交</button>
        <input type="checkbox" name="rememberme" value="rememberme">自动登录
    </form>
</body>
</html>
